import './css/common.css';

const headerWrap = require('./template/header.art');
const footerWrap = require('./template/footer.art');
//数据渲染
const html = headerWrap();
const footerHtml = footerWrap();
//渲染到页面
var header = document.getElementById('header');
var footer = document.getElementById('footer');
console.log(header)
header.innerHTML = html;

footer.innerHTML = footerHtml;



